<?php

define("ROOT", dirname(__FILE__));
define("URL_ROOT", "/");

define("DB_HOST", "127.0.0.1");
define("DB_PORT", "3306");
define("DB_USER", "root");
define("DB_PASS", "");
define("DB_DB", "soss");

define("TYPE_BLOG", 1);


ini_set('magic_quotes_gpc', 'Off');
header("Content-Type: text/html;charset=UTF-8");
mb_internal_encoding("utf-8");


require(ROOT . "/include/geshi.php");

require(ROOT . "/include/misc.php");
$user = & get_user();
save_burl();
require(ROOT . "/include/db.php");
$db = & new DB(DB_HOST, DB_PORT, DB_USER, DB_PASS, DB_DB);
require(ROOT . "/include/template.php");
$t = & new MyTemplate(ROOT . "/template");
//$t->debug = 7;
